import {request} from 'umi';
//L列表渲染
export const lister = (type:string,keyword:string,count:string)=>{
    if(type || keyword || count){
        return request(`/search?page=1&pageSize=12&type=${type}&keyword=${keyword}&count=${count}`)
    }else{
        return request('/search?page=1&pageSize=12')
    }
}
export const rem = (id:string)=>{
    return request(`/search/${id}`,{method:"DELETE"})
}
